 /**
 * \file
 *
 * \brief 引脚功能定义
 *
 * \author 高明飞
 *
 * \date 2015-09-25
 *
 * 修改记录：\n
 *
 * 2015-09-27 :\n
 *   -修改注释格式使其可以使用Doxygen\n
 * 
 */
 
#ifndef PINDEF_H
#define PINDEF_H

#include "STC15F2K60S2.h"

sbit ShutDown = P3^5;

sfr COMData = 0x80;
sbit COMA = P0^0;
sbit COMB = P0^1;
sbit COMC = P0^2;
sbit COMD = P0^3;
sbit COME = P0^4;
sbit COMF = P0^5;
sbit COMG = P0^6;
sbit COMDP = P0^7;

sfr COMList = 0x90;
sbit COM1 = P1^0;
sbit COM2 = P1^1;
sbit COM3 = P1^2;
sbit COM4 = P1^3;
sbit COM5 = P1^4;
sbit COM6 = P1^5;

sbit COM_LED1 = P1^6;
sbit COM_LED2 = P1^7;
sbit COM_LED3 = P5^4;

sbit KEY1 = P2^0;
sbit KEY2 = P2^1;
sbit KEY3 = P2^2;
sbit KEY4 = P2^3;

#endif

